<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <title>碳达人</title>

    <link rel="stylesheet" th:href="@{/libs/bootstrapvalidator/css/bootstrapValidator.min.css}"/>
    <link rel="stylesheet" th:href="@{/libs/fireui/accordion.css}"/>
    <link rel="stylesheet" th:href="@{/libs/fireui/table.css}"/>
    <link rel="stylesheet" th:href="@{/cweb/css/calculator.css}"/>
    <link rel="stylesheet" th:href="@{/cweb/css/customer-20211209.css}"/>
</head>
<body>
<header id="header">
    <div th:replace="home/cfragments/navbar :: cnavbar"></div>
</header>
<span th:if="${CURRENT_CUSTOMER == null}">
    <span id="no_login"></span>
</span>
<div class="main-container">
    <div class="content">
        <form class="form-horizontal" id="form">
            <div class="calc_two_main" style="min-height: 1500px;border-left:  1px solid #C7C7C7;">
                <div class="calc_two_content calc_two_main_left"
                     style="min-height: 1572px;border-right: 1px solid #C7C7C7;border-left: 0">
                    <div id="accordionThree" role="tablist" class="fire_accordion_common fire_accordion1">
                        <div class="card" style="height: 1296px">
                            <a data-toggle="collapse" class="title" href="#collapseThree" aria-expanded="true">
                                <i class="fa fa-angle-down"></i>E</sub>燃烧</sub>：化石燃料燃烧排放量，单位为t
                            </a>
                            <div id="collapseThree" class="collapse in" data-parent="#accordionThree">
                                <div class="card-body" style="line-height:40px">
                                    </br>NCV<sub>煤</sub>：燃煤月平均低位发热量，单位为GJ/t
                                    </br>C<sub>煤</sub>：燃煤月平均元素含碳量，单位为%
                                    </br>FC<sub>煤</sub>：燃煤的消耗量，单位为t
                                    </br>G<sub>渣</sub>：全年的炉渣产量，单位为t
                                    </br>C<sub>渣</sub>：炉渣的平均含碳量，单位为%
                                    </br>G<sub>灰</sub>：全年的飞灰产量，单位为t
                                    </br>C<sub>灰</sub>：飞灰的平均含碳量，单位为%
                                    </br>η<sub>除尘</sub>：除尘系统的平均除尘效率，单位为%
                                    </br>NCV<sub>i</sub>：第i种化石燃料的平均低位发热量，对固体和液体燃料以GJ/t为单位，对气体燃料以GJ/10<sup>4</sup>Nm<sup>3</sup>为单位
                                    </br>FC<sub>i</sub>：第i种化石燃料的净消耗量，对固体和液体燃料以t为单位，对气体燃料以10<sup>4</sup>Nm<sup>3</sup>为单位
                                    </br>CC<sub>i</sub>：第i种化石燃料的单位热值含碳量，单位为t/GJ
                                    </br>OF<sub>i</sub>：第i种化石燃料的碳氧化率，单位为%
                                </div>
                            </div>
                        </div>
                        <div class="card">
                            <a data-toggle="collapse" class="title" href="#collapseyl" aria-expanded="true">
                                <i class="fa fa-angle-down"></i>E<sub>脱硫</sub>：脱硫过程产生的二氧化碳排放量，单位为t
                            </a>
                            <div id="collapseyl" class="collapse in" data-parent="#accordionThree"
                                 style="height: 289px;">
                                <div class="card-body" style="line-height:40px">
                                    </br>CAL<sub>k</sub>：第k种脱硫剂中的碳酸盐年消耗量，单位为t
                                    </br>EF<sub>k</sub>：第k种脱硫剂中碳酸盐的排放因子，单位为tCO<sub>2</sub>/t
                                </div>
                            </div>
                        </div>
                        <div class="card" style="height: 320px">
                            <a data-toggle="collapse" class="title" href="#collapseyes" aria-expanded="true">
                                <i class="fa fa-angle-down"></i>E<sub>电</sub>：企业购入的电力消费的排放量，单位为t
                            </a>
                            <div id="collapseyes" class="collapse in" data-parent="#accordionThree">
                                <div class="card-body" style="line-height:40px">
                                    </br>AD<sub>电</sub>：购入电量，单位为MWh
                                    </br>EF<sub>电</sub>：平均供电排放因子，单位为t/MWh
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="calc_two_content calc_two_main_right" style="min-height: 1500px;border-left: 0">
                    <div class="calc_top calc_two_main_right_content">
                        <div class="form-group">
                            <div class="col-sm-1">
                            </div>
                            <div class="col-sm-7">
                                <input type="text" class="form-control" name="eBurn" readonly id="eBurn"
                                       placeholder="化石燃料燃烧排放量">
                            </div>
                        </div>
                    </div>
                    <div class="calc_table calc_two_main_right_content" style="height: 709px">
                        <div class="table_style1 table_style2 table-responsive">
                            <table class="table table-striped" style="text-align: center;">
                                <thead>
                                <tr>
                                    <th style="width: 10%">煤</th>
                                    <th style="width: 20%">月份</th>
                                    <th style="width: 20%">NCV<sub>煤</sub></th>
                                    <th style="width: 20%">C<sub>煤</sub></th>
                                    <th style="width: 30%">FC<sub>煤</sub></th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td></td>
                                    <td>一月<input type="hidden" name="monthName" value="一月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_1"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group"><input type="text" class="form-control" name="c"
                                                                       id="c_1"></div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_1"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>二月<input type="hidden" name="monthName" value="二月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_2"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group"><input type="text" class="form-control" name="c"
                                                                       id="c_2"></div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_2"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>三月<input type="hidden" name="monthName" value="三月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_3"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_3">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_3"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>四月<input type="hidden" name="monthName" value="四月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_4"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_4">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_4"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>五月<input type="hidden" name="monthName" value="五月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_5"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_5">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_5"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>六月<input type="hidden" name="monthName" value="六月"
                                                 onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_6"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_6">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_6"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>七月<input type="hidden" name="monthName" value="七月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_7"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_7">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_7"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>八月<input type="hidden" name="monthName" value="八月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_8"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_8">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_8"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>九月<input type="hidden" name="monthName" value="九月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_9"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_9">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_9"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>十月<input type="hidden" name="monthName" value="十月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_10"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_10">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_10"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>十一月<input type="hidden" name="monthName" value="十一月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_11"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_11">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_11"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>十二月<input type="hidden" name="monthName" value="十二月"></td>
                                    <td><input type="text" class="form-control" name="nvc" id="nvc_12"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="c" id="c_12">
                                        </div>
                                    </td>
                                    <td><input type="text" class="form-control" name="monthlyHeatin"
                                               id="monthlyHeatin_12"
                                               onkeyup="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <div class="calc_center calc_two_main_right_content">
                        <div class="form-group">
                            <label for="gResidue" class="col-sm-3 control-label">G<sub>渣</sub></label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="gResidue" id="gResidue">
                            </div>
                            <label for="cResidue" class="col-sm-3 control-label">C<sub>渣</sub></label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="cResidue" id="cResidue">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="gAsh" class="col-sm-3 control-label">G<sub>灰</sub></label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="gAsh" id="gAsh">
                            </div>
                            <label for="cAsh" class="col-sm-3 control-label">C<sub>灰</sub></label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="cAsh" id="cAsh">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="removeDust" class="col-sm-3 control-label">η<sub>除尘</sub></label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" name="removeDust" id="removeDust">
                            </div>
                            <div class="col-sm-3">
                            </div>
                        </div>
                    </div>

                    <div class="calc_table calc_two_main_right_content" style="height: 298px">
                        <div class="table_style1 table_style2 table-responsive">
                            <table class="table table-striped">
                                <thead>
                                <tr>
                                    <th style="width: 16%;">
                                        <button type="button" class="btn btn-primary" style="width: 40px;padding: 0"
                                                onclick="addNonCoal()">添加
                                        </button>
                                    </th>
                                    <th style="width: 10%;">非煤</th>
                                    <th style="width: 16%;">NCV<sub>i</sub></th>
                                    <th style="width: 16%;">FC<sub>i</sub></th>
                                    <th style="width: 16%;">CC<sub>i</sub></th>
                                    <th style="width: 22%;">OF<sub>i</sub></th>
                                </tr>
                                </thead>
                                <tbody id="addNonCoal">

                                </tbody>
                            </table>
                        </div>
                    </div>

                    <div class="calc_top calc_two_main_right_content">
                        <div class="form-group">
                            <div class="col-sm-1">
                            </div>
                            <div class="col-sm-7">
                                <input type="text" class="form-control" name="eDesulphurization" readonly
                                       id="eDesulphurization"
                                       placeholder="脱硫过程产生的二氧化碳排放量">
                            </div>
                        </div>
                    </div>
                    <div class="calc_table calc_two_main_right_content" style="height: 276px">
                        <div class="table_style1 table_style2 table-responsive">
                            <table class="table table-striped">
                                <thead>
                                <tr>
                                    <th style="width: 16%;">
                                        <button type="button" class="btn btn-primary btn-sm"
                                                style="width: 40px;padding: 0"
                                                onclick="addCalEf()">添加
                                        </button>
                                    </th>
                                    <th style="width: 42%;">CAL<sub>k</sub></th>
                                    <th style="width: 42%;">EF<sub>k</sub></th>
                                </tr>
                                </thead>
                                <tbody id="addCalEf">

                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="calc_top calc_two_main_right_content">
                        <div class="form-group">
                            <div class="col-sm-1">
                            </div>
                            <div class="col-sm-7">
                                <input type="text" class="form-control" name="eElectric" readonly id="eElectric"
                                       placeholder="企业购入的电力消费的排放量">
                            </div>
                        </div>
                    </div>
                    <div class="calc_center calc_two_main_right_content">
                        <div class="form-group">
                            <label for="adElectric" class="col-sm-2 control-label">AD<sub>电</sub></label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" name="adElectric" id="adElectric">
                            </div>
                            <label for="efElectric" class="col-sm-2 control-label">EF<sub>电</sub></label>
                            <div class="col-sm-4">
                                <select class="form-control" name="efElectric" id="efElectric">
                                    <option value="0">请选择</option>
                                    <option value="0.9419">0.9419(华北电网)</option>
                                    <option value="1.0826">1.0826(东北电网)</option>
                                    <option value="0.7921">0.7921(华东电网)</option>
                                    <option value="0.8587">0.8587(华中电网)</option>
                                    <option value="0.8922">0.8922(西北电网)</option>
                                    <option value="0.8042">0.8042(南方电网)</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div style="width: 100%; float: left">
                        <div class="calc_line"></div>
                    </div>
                    <div class="calc_bottom calc_two_main_right_content">
                        <button class="btn btn-info waves-effect waves-light btn-sm" style="float: left"
                                onclick="getElectricityGeneration()"
                                type="button">计算
                        </button>
                        <div id="result"></div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<div>
    <div th:replace="home/cfragments/float_right :: cfloatright"></div>
</div>
<div class="footer">
    <div th:replace="home/cfragments/footer :: cfooter"></div>
</div>
<script th:src="@{/libs/bootstrap/bootstrap.min.js}"></script>
<script th:src="@{/libs/bootstrapvalidator/js/bootstrapValidator.js}"></script>
<script>

    $(function () {
        $('#tdr').addClass('th-bg');
        if ($('#no_login').length == 1) {
            userLogin();
        }
        initValidator();
    });

    function initValidator() {
        $('#form').bootstrapValidator({
            message: 'This value is not valid',
            feedbackIcons: {
                valid: 'glyphicon glyphicon-ok',
                invalid: 'glyphicon glyphicon-remove',
                validating: 'glyphicon glyphicon-refresh'
            },
            fields: {
                gResidue: {
                    message: 'G<sub>渣</sub>验证失败',
                    validators: {
                        notEmpty: {
                            message: '请输入G<sub>渣</sub>'
                        },
                        regexp: {
                            regexp: /^[1-9]\d*$/,
                            message: '只能输入整数'
                        }
                    }
                },
                cResidue: {
                    message: 'C<sub>渣</sub>验证失败',
                    validators: {
                        callback: xz0_1_validator
                    }
                },
                gAsh: {
                    message: 'G<sub>灰</sub>验证失败',
                    validators: {
                        notEmpty: {
                            message: '请输入G<sub>灰</sub>'
                        },
                        regexp: {
                            regexp: /^[1-9]\d*$/,
                            message: '只能输入整数'
                        }
                    }
                },
                cAsh: {
                    message: 'C<sub>灰</sub>验证失败',
                    validators: {
                        callback: xz0_1_validator
                    }
                },
                removeDust: {
                    message: 'η<sub>除尘</sub>验证失败',
                    validators: {
                        callback: xz0_1_validator
                    }
                },
                adElectric: {
                    message: 'AD<sub>电</sub>验证失败',
                    validators: {
                        notEmpty: {
                            message: '请输入AD<sub>电</sub>'
                        },
                        regexp: {
                            regexp: /^[1-9]\d*$/,
                            message: '只能输入整数'
                        }
                    }
                },
                c: {
                    message: 'C<sub>煤</sub>验证失败',
                    validators: {
                        callback: xz0_1_validator
                    }
                }
            }
        });
    }

    function addNonCoal() {
        var delTd = '<td></td>';
        var mTd = '<td></td>';
        var ncviTd = '<td><input type="text" class="form-control" name="ncvi" onkeyup="this.value=this.value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,\'$1$2.$3\')"></td>';
        var fciTd = '<td><input type="text" class="form-control" name="fci" onkeyup="this.value=this.value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,\'$1$2.$3\')"></td>';
        var cciTd = '<td><input type="text" class="form-control" name="cci" onkeyup="this.value=this.value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,\'$1$2.$3\')"></td>';
        var ofiTd = '<td>' +
            '<select class="form-control" name="ofi">' +
            '<option value="0">请选择</option>' +
            '<option value="0.98">0.99(天然气)</option>' +
            '<option value="0.99">0.99(焦炉煤气)</option>' +
            '<option value="0.99">0.99(其他煤气)</option>' +
            '<option value="0.98">0.98(其他)</option>' +
            '</select></td>';
        $('#addNonCoal').append('<tr>' + delTd + '' + mTd + '' + ncviTd + '' + fciTd + '' + cciTd + '' + ofiTd + '</tr>');
    }

    function addCalEf() {
        var delTd = '<td></td>';
        var calkTd = '<td><input type="text" class="form-control" name="calk" onkeyup="this.value=this.value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,\'$1$2.$3\')"></td>';
        var efkTd = '<td>' +
            '<select class="form-control" name="efk">' +
            '<option value="0">请选择</option>' +
            '<option value="0.44">0.44(碳酸钙)</option>' +
            '<option value="0.522">0.522(碳酸镁)</option>' +
            '<option value="0.415">0.415(碳酸钠)</option>' +
            '<option value="0.223">0.223(碳酸钡)</option>' +
            '<option value="0.596">0.596(碳酸锂)</option>' +
            '<option value="0.318">0.318(碳酸钾)</option>' +
            '<option value="0.298">0.298(碳酸锶)</option>' +
            '<option value="0.93">0.524(碳酸氢钠)</option>' +
            '<option value="0.38">0.38(碳酸亚铁)</option>' +
            '</select></td>';
        $('#addCalEf').append('<tr>' + delTd + '' + calkTd + '' + efkTd + '</tr>');
    }

    function getElectricityGeneration() {
        var flag = $('#form').data('bootstrapValidator').isValid();
        if (flag) {
            Core.postAjax("/blog/eg/api/result", $('#form').serialize(), function (data) {
                console.info(data)
                $('#result').html(data.data.result)
                $('#eBurn').val(data.data.eburn);
                $('#eDesulphurization').val(data.data.edesulphurization);
                $('#eElectric').val(data.data.eelectric);
            });
        }
    }
</script>
</body>
</html>